import Vue from 'vue'
import {
  Button,
  Toast,
  NavBar,
  Image,
  Lazyload,
  Dialog,
  RadioGroup,
  Radio,
  List,
  Overlay,
  Field,
  Stepper,
  Swipe,
  SwipeItem
} from 'vant'

Vue.use(Button)
Vue.use(NavBar)
Vue.use(Image)
Vue.use(Lazyload)
Vue.use(RadioGroup)
Vue.use(Radio)
Vue.use(List)
Vue.use(Overlay)
Vue.use(Dialog)
Vue.use(Field)
Vue.use(Stepper)
Vue.use(Swipe)
Vue.use(SwipeItem)

Vue.prototype.$toast = Toast
Vue.prototype.$dialog = Dialog
